<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>角色设置</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="${basePath!}/genius/layui/css/layui.css"
          media="all">
    <link rel="stylesheet" href="${basePath!}/genius/style/admin.css"
          media="all">
    <style>

        .layui-card-body {
            /*			height:1000px; */
        }

        .ew-tree-table-group .ew-tree-table-box {
            overflow: auto;
            max-height: 700px;
        }
    </style>
</head>
<body style="overflow: hidden;">

<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">

            <div class="layui-row layui-col-space11">


                <div class="layui-fluid layui-col-md3">
                    <div class="layui-card">

                        <table id="LAY-role-list" lay-filter="LAY-role-list"></table>
                        <table>

                        </table>

                        <script type="text/html" id="statusTpl">
                            {{#  if(d.classflag == '0'){ }}
                            <span style="color:green">启用</span>
                            {{#  } else { }}
                            <span style="color:#ddd">禁用</span>
                            {{#  } }}
                        </script>
                    </div>
                </div>


                <div class="layui-fluid layui-col-md8"
                     style="width: 67.6%; margin-left: -1%;">
                    <div class="layui-card" id="form" hidden>
                        <div class="layui-form layuiadmin-card-header-auto"
                             style="padding-bottom: 5px;margin-top: 10px; padding-left: 10px;">

                            <button class="layui-btn layui-btn-warm layuiadmin-btn-admin" data-type="save"><i
                                    class="layui-icon layui-icon-ok"></i>保存
                            </button>
                            <button class="layui-btn layui-btn-danger layuiadmin-btn-admin"  data-type="backtable"><i class="layui-icon layui-icon-return"></i>返回</button>
                            <!--<button class="layui-btn layui-btn-primary layuiadmin-btn-admin" name="systemname" id="systemname">已选择系统:</button>-->
                        </div>
                        <div class="layui-card-body" id="body2">
                            <div class="layui-tab layui-tab-card">
                                <ul class="layui-tab-title">
                                    <li class="layui-this">陈列设置</li>
                                </ul>

                                <div class="layui-own-border" id="layui-own-border">
                                    <form class="layui-form" action="" lay-filter="form1">
                                        <div class="mode1">
                                            <div class="layui-form-item">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">已选择系统</label>
                                                    <div class="layui-input-block" >
                                                        <input type="text" name="system" id="system"
                                                               readonly autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">排面最小单位</label>
                                                    <div class="layui-input-block" id="number1">
                                                        <input type="text" name="minunit" id="minunit" lay-verify="num"
                                                               placeholder="请输入"
                                                               autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">排面最小长度</label>
                                                    <div class="layui-input-block ">
                                                        <input type="text" name="minunitlength" lay-verify="num"
                                                               id="minunitlength" placeholder="请输入" autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-form-item">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">最适陈列量</label>
                                                    <div class="layui-input-block" id="number1">
                                                        <input type="text" name="goodsset" id="goodsset"
                                                               lay-verify="num" placeholder="请输入" autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">满陈列量</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="maxset" lay-verify="num"
                                                               id="maxset" placeholder="请输入" autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item layui-hide">
                                            <input type="button" lay-submit lay-filter="save" value="确认">
                                        </div>

                                        <div class="clearfix"></div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="layui-card" id="table" style="padding-bottom: 5px;margin-top: 10px; padding-left: 10px;">
                        <table id="goods_order_table" lay-filter="goods_order_table"></table>
                    </div>
                </div>

                <div class="clearfix"></div>
            </div>
        </div>
    </div>

    <script src="${basePath!}/genius/layui/layui.js"></script>
    <script type="text/html" id="opeTable">
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
    </script>
    <script>
        //   layui.config({
        //     base: '${basePath!}/genius/' //静态资源所在路径
        //     ,host:'${basePath!}'//项目访问路径
        //   }).extend({
        //     index: 'lib/index' //主入口模块
        //     ,role:'/adminmanager/role'
        //   }).use(['index','role']);
        layui.config({
            base: '${basePath!}/genius/'
            , host: '${basePath!}'//项目访问路径
        }).extend({
            index: 'lib/index'
            , edit: 'unite_platform/goods_system_set/index'
        }).use(['index', 'edit'], function () {
            var $ = layui.$
                , edit = layui.edit;

            var parentJson = {};
            parentJson.classname = "${RequestParameters["
            classname
            "]}";
            parentJson.bakUrl = "${RequestParameters["
            bakUrl
            "]}";
            parentJson.currentMenuId = "${RequestParameters["
            currentMenuId
            "]}";

            edit.setParentJson(parentJson);
        });
    </script>
</body>
</html>